﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<MvcMusicStore.ViewModels.StoreIndexViewModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div style="padding: 0px 10px 10px 10px;">
        <h3>
            Browse Genres</h3>
        <p>
            Select from
            <%: Model.NumberOfGenres %>
            genres:</p>
        <ul>
            <% foreach (string genreName in Model.Genres)
               { %>
            <li>
                <%: Html.ActionLink(genreName, "Browse", new { genre = genreName })%>
            </li>
            <% } %>
        </ul>
    </div>
</asp:Content>
